<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="f"  uri="http://java.sun.com/jsf/core"%>
<%@ taglib prefix="h"  uri="http://java.sun.com/jsf/html"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Laboratorio</title>
</head>
<body>
<f:view>
<h:form>
<h:dataTable id="publicacionesdatatable" headerClass="list-header" rowClasses="list-row" styleClass="list-background" value="#{publicacionesBean.publi}" var="lis">
	<f:facet name="header">
		<h:outputText value="Listado de Publicaciones" />
	</f:facet>
	<h:column>
		<f:facet name="header">
			<h:outputText value="Titulo"/>
		</f:facet>
		<h:outputText value="#{lis.titulo}"/>
	</h:column>
	<h:column>
		<f:facet name="header">
			<h:outputText value="Fecha"/>
		</f:facet>
		<h:outputText value="#{lis.fecha}">
			<f:convertDateTime pattern="dd/MM/yyyy"/>
		</h:outputText>	
	</h:column>
	<h:column>
		<f:facet name="header">
			<h:outputText value="Numero"/>
		</f:facet>
		<h:outputText value="#{lis.numero}"/>
	</h:column>
</h:dataTable>
<h:commandButton value="Volver" action="home" type="submit" id="publicacioncommandbuttonvolver" immediate="true"/>
</h:form>
</f:view>
</body>
</html>